package com.zecan.blog.dto.user;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName RegistryUserDto
 * @Description
 * @date 2022/11/2 11:45
 * @Version 1.0
 * 用户注册表单实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class RegistryUserDto {

    //用户名
    private String username;

    //密码
    private String password;

    // 重复的密码
    private String truthPassword;

    //邮箱
    private String email;

    //邮箱验证码
    private String emailCaptcha;

    // 存放在redis 中验证码唯一标识
    private String captchaKey;
}


